import React, { Component } from 'react'
import PropTypes from 'prop-types';


export class TabCont extends Component {
  render() {
      const { cont } = this.props;
    return (
      <div>
          {cont}
      </div>
    )
  }
}

// 校验参数类型
TabCont.propTypes = {
    cont: PropTypes.string
};

// 设置默认值 
TabCont.defaultProps = {
    cont: "新的tab"
};

export default TabCont